package com.woniuxy.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * @TableName doctor
 */
@TableName(value ="doctor")
@Data
public class Doctor implements Serializable {
    private Integer id;

    private Integer departmentId;

    private String name;

    private String avatar;

    private String title;

    private Integer hospitalId;

    private BigDecimal registrationFee;

    private BigDecimal consultationFeeText;

    private BigDecimal consultationFeePhone;

    private String expertise;

    private String description;

    private Integer status;

    private Date createTime;

    private Date updateTime;
    // 非数据库字段（用于接收关联查询结果）
    @TableField(exist = false)
    private String departmentName;

    @TableField(exist = false)
    private String hospitalName;

    private static final long serialVersionUID = 1L;
}
